home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / SOUNDC.ARJ / SNDNOTES.H < prev    next >
Text File  |  1992-07-10  |  2KB  |  91 lines

  1. /* sound generation and timing interrupt note values
  2.  *
  3.  * Last change: 10 Jul 92  JMG
  4.  *
  5.  * Written by:
  6.  *
  7.  *     Nels Anderson
  8.  *    92 Bishop Drive
  9.  * Framingham, MA  01701
  10.  *
  11.  * Translated to (Borland) C by:
  12.  *
  13.  *   John Gallant
  14.  *   1249 Cedar Creek Circle
  15.  *   Dayton OH 45459
  16.  *
  17.  * Released to the public domain
  18.  */
  19.  
  20. /* Note Values:
  21.  *
  22.  * Use these constants to get the proper values for notes.
  23.  * The first character is the note name.
  24.  * S indicates a sharp, N natural, and F flat.
  25.  * The final number indicates the octave (changing at C natural)
  26.  */
  27.  
  28. #define CN3 13
  29. #define CS3 14
  30. #define DN3 15
  31. #define DS3 16
  32. #define EN3 16
  33. #define FN3 17
  34. #define FS3 19
  35. #define GN3 20
  36. #define GS3 21
  37. #define AN3 22
  38. #define AS3 23
  39. #define BN3 25
  40.  
  41. #define CN4 26
  42. #define CS4 28
  43. #define DN4 29
  44. #define DS4 31
  45. #define EF4 31
  46. #define EN4 33
  47. #define FF4 33
  48. #define FN4 35
  49. #define FS4 37
  50. #define GN4 39
  51. #define GS4 42
  52. #define AF4 42
  53. #define AN4 44
  54. #define AS4 47
  55. #define BF4 47
  56. #define BN4 49
  57.  
  58. #define CN5 52
  59. #define CS5 55
  60. #define DF5 55
  61. #define DN5 59
  62. #define DS5 62
  63. #define EN5 66
  64. #define FN5 70
  65. #define FS5 74
  66. #define GN5 78
  67. #define GS5 83
  68. #define AF5 83
  69. #define AN5 88
  70. #define AS5 93
  71. #define BF5 93
  72. #define BN5 99
  73.  
  74. #define CN6 105
  75. #define CS6 111
  76. #define DN6 117
  77. #define DS6 124
  78. #define EN6 133
  79. #define FN6 140
  80. #define FS6 148
  81. #define GN6 157
  82. #define GS6 166
  83. #define AN6 176
  84. #define AS6 186
  85. #define BN6 198
  86.  
  87. #define CN7 209
  88. #define CS7 222
  89. #define DN7 235
  90. #define DS7 249
  91.